package lab.bmp.track;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.EJBObject;
import lab.bmp.artist.ArtistPK;
import lab.bmp.genre.GenrePK;
import lab.bmp.studio.StudioPK;

/**
 *
 * @author Smike
 */
public interface Track extends EJBObject {   
    
    public Collection<GenrePK> getGenres() throws RemoteException;
    public void setGenres(Collection<GenrePK> genres) throws RemoteException;
    
    public Collection<ArtistPK> getArtists() throws RemoteException;
    public void setArtists(Collection<ArtistPK> artists) throws RemoteException;
    
    public StudioPK getStudio() throws RemoteException;
    public void setStudio(StudioPK studio) throws RemoteException;
    
    public String getName() throws RemoteException;
    public void setName(String name) throws RemoteException;
    
    public Long getLength() throws RemoteException;
    public void setLength(Long length) throws RemoteException;
    
    public Integer getYear() throws RemoteException;
    public void setYear(Integer year) throws RemoteException;
    
    public Integer getId() throws RemoteException;
    public void setId(Integer id) throws RemoteException;
    
}
